summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzeltermann <136022354+zeltermann@users.noreply.github.com>2023-07-03 09:46:17 +0200
committerGitHub <noreply@github.com>2023-07-03 09:46:17 +0200
commitd2b62ae401f7ceac1a49a7f3c070cdf7a4890b3f (patch)
tree87d4234b0704fb6539e3febb3c06ad8554c64b80
parentMerge pull request #10998 from Morph1984/qt-stop-messing-with-me (diff)
downloadyuzu-d2b62ae401f7ceac1a49a7f3c070cdf7a4890b3f.tar
yuzu-d2b62ae401f7ceac1a49a7f3c070cdf7a4890b3f.tar.gz
yuzu-d2b62ae401f7ceac1a49a7f3c070cdf7a4890b3f.tar.bz2
yuzu-d2b62ae401f7ceac1a49a7f3c070cdf7a4890b3f.tar.lz
yuzu-d2b62ae401f7ceac1a49a7f3c070cdf7a4890b3f.tar.xz
yuzu-d2b62ae401f7ceac1a49a7f3c070cdf7a4890b3f.tar.zst
yuzu-d2b62ae401f7ceac1a49a7f3c070cdf7a4890b3f.zip
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index fea5eb614..20532416c 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -454,7 +454,7 @@ GMainWindow::GMainWindow(std::unique_ptr<Config> config_, bool has_broken_vulkan
// the user through their desktop environment.
//: TRANSLATORS: This string is shown to the user to explain why yuzu needs to prevent the
//: computer from sleeping
- QByteArray wakelock_reason = tr("Running a game").toLatin1();
+ QByteArray wakelock_reason = tr("Running a game").toUtf8();
SDL_SetHint(SDL_HINT_SCREENSAVER_INHIBIT_ACTIVITY_NAME, wakelock_reason.data());
// SDL disables the screen saver by default, and setting the hint